﻿using Dyao.Book.Contract;
using Dyao.Book.Entity;
using Dyao.Book.Repository.Abstractions;

namespace Dyao.Repository.Abstractions
{
    public interface ITaskCenterRuleRepository : IDataRepository<TaskCenterRuleEntity, int>
    {
        /// <summary>
        /// 获取任务中心规则列表
        /// </summary>
        /// <param name="idList">idList</param>
        /// <param name="cancellationToken">cancellationToken</param>
        /// <returns></returns>
        Task<List<TaskCenterRuleDto>> GetTaskCenterRuleListAsync(List<int> idList, CancellationToken cancellationToken = default);
    }
}
